/**
 * 功能描述 
 */

define(function (require, exports, module) {
	var aw = require("ajaxwrapper")
	var Form = require("form");
	var store =require("store");
	var activeUser = store.get("user");
    var instance = {
        initComponent: function (params,widget) {
        	var form = new Form({
        		parentNode:".J-form",
	  			model:{
					id:"J-form",
					layout : "2_1",
					defaultButton : false,
					items:[{
			            name: "reserveType",
			            label: "预约类型",
			        },{
			            name: "groupUnit",
			            label: "组团单位/预约人",
			        },{
			            name: "desName",
			            label: "目的地"			            
			        },{
			            name: "signUpNumber",
			            label: "报名人数",
			        },{
			        	name:"checkInDate",
			        	label:"入住日期",
			        },{
			        	name:"checkOutDate",
			        	label:"退住日期",
			        },{
			        	name:"description",
			        	label:"备注",
			        }]
	  			 }
           });
        widget.set("form",form);
       }
    };
    module.exports = instance;
});
